package indi.zhifa.learn.jenkins.helloworld2.web.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import indi.zhifa.learn.jenkins.helloworld2.common.entity.BasePo;
import indi.zhifa.learn.jenkins.helloworld2.web.entity.enums.EAnalysisStatus;
import indi.zhifa.learn.jenkins.helloworld2.web.entity.request.DocKeyPassConfig;
import indi.zhifa.learn.jenkins.helloworld2.web.service.algorithm.datastructure.DocResultSet;
import lombok.Data;

import java.util.Map;

@Data
@TableName(autoResultMap = true)
public class AnalysisTask extends BasePo {
    Long userId;
    EAnalysisStatus status;
    String filePath;
    @TableField(typeHandler = JacksonTypeHandler.class)
    DocKeyPassConfig keyConfig;
    String errorInfo;
    @TableField(typeHandler = JacksonTypeHandler.class)
    DocResultSet result;
}
